<?phpinclude($folder.'/layouts/code-behind/frontend.php');$id = $_GET['id'];$content['galleryName'] = queryScalar('SELECT name FROM gallery WHERE id=:id',	array('id'=>$id));function blc_galerialista_select($from, $itemsPerPage, $id){	return query('SELECT id,name FROM gallery WHERE gallery_id=:id LIMIT :from,:itemsPerPage',	array('id'=>$id,'from'=>$from,'itemsPerPage'=>$itemsPerPage));}function blc_galerialista_select_count($id){	return queryScalar('SELECT COUNT(*) FROM gallery WHERE gallery_id=:id', array('id'=>$id));}$master['action'] = null;$master['attributes'] = null;// $master['pageTitle'] = $content['galleryName'].' (Galériák)';?>